import {FilterConstants} from './constants';

export function Filter(state = {region:["0002",""]}, action) {
  switch (action.type) {
    case FilterConstants.SET_REGION:
      return {
        region:action.region
      };
    default:
      return state
  }
}